package com.sky.item.service.es;

import com.sky.dto.DishPageQueryDTO;
import com.sky.vo.DishVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface DishVOForES {
    void saveAll(List<DishVO> dishVOList);

    void deleteAll();

    DishVO findById(Long id); //admin

    Page<DishVO> findPage(DishPageQueryDTO dishPageQueryDTO);
}
